package com.base.dao.pts;

import com.base.vo.pts.PtsNurseShift;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PtsNurseShiftMapper {
    int deleteByPrimaryKey(Short id);

    int insert(PtsNurseShift record);

    int insertSelective(PtsNurseShift record);

    PtsNurseShift selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(PtsNurseShift record);

    int updateByPrimaryKey(PtsNurseShift record);

    List<PtsNurseShift> selectAll();

    List<PtsNurseShift> selectByStartDateAndOrgCode(@Param("startDate") String startDate,@Param("orgCode") String orgCode);

    int insertBatch(List<PtsNurseShift> list);
}
